﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Win104.IEC104
{
    public class EQuality :EAbstractQuality
    {
        public EQuality(ByteBody data) : base(data) { }

        public int IsOverflow()
        {
            return value >> 0 & 0x01;
        }

        public override string ToString()
        {
            return "品质描述, 溢出: " + IsOverflow() + ", " + base.ToString();
        }
    }
}
